package com.jifeng.api.crud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jifeng.api.crud.entity.TerminalEntity;
import com.jifeng.api.utils.PageUtils;
import com.jifeng.api.utils.R;
import com.jifeng.api.vo.ReqRentVo;

import java.util.Map;

/**
 * 
 *
 * @author jifeng
 * @email 1593140625@qq.com
 * @date 2020-09-05 09:24:03
 */
public interface TerminalService extends IService<TerminalEntity> {



    R updateTerminalStatus(Map<String, Object> params);

    R isRent(Map<String, Object> params);

    R updateIsRentResult(ReqRentVo params);

    R updateRentResult(ReqRentVo params);

    R waitPay(ReqRentVo params);

    R isRentFinish(ReqRentVo params);

    R updateTerminalAll(TerminalEntity terminalEntity);

    R getLocationInfo(Map<String, Object> params);

    R insertTerminal(TerminalEntity terminal);

    R deleteTerminal(Map<String, Object> params);

    R updateTerminal(TerminalEntity terminalEntity);

    R getOneTerminal(Map<String, Object> params);

    R remoteOpen(Map<String, Object> params);

    R remoteDisable(Map<String, Object> params);
}

